<template src="./template.html"></template>

<style src="./style.css" scoped></style>
<script>
    import modal from "utils/modal";

    export default {
        data(){
            return {
                pageLoaded: false,
                title: '支付宝免密支付',
                info: []
            }
        },
        created(){
            let config = weex.config;

            if(typeof config.info === 'undefined'){
                modal.toast('说明文案为空');
                return false;
            }

            this.info = config.info || [];
            if(config.title) this.title = config.title;

            this.pageLoaded = true;
        }
    }
</script>
